package com.itheima.service;

import com.itheima.domain.SmsHomeRecommendProduct;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.util.PageBean;
import com.itheima.util.PageBeanVo;

import java.util.List;

/**
 * <p>
 * 人气推荐商品表 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface SmsHomeRecommendProductService extends IService<SmsHomeRecommendProduct> {
    PageBean list(Integer pageNum, Integer pageSize, String productName, Integer recommendStatus);

    int create(List<SmsHomeRecommendProduct> recommendProducts);

    int delete(List<Long> ids);

    int updateStatus(List<Long> ids, Integer recommendStatus);

    int updateSort(Integer sort, Integer id);
}
